<template>
    <svg :style="{ width, height }">
      <use :xlink:href="`#icon-${name}`"></use>
    </svg>
  </template>
  
  <script setup>
  defineProps({
    name: String,
    color: {
      type: String,
      default: '',
    },
    width: {
      type: String,
      default: '50px',
    },
    height: {
      type: String,
      default: '50px',
    },
  })
  </script>